﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace netcore_service.Model
{
    public class AdSpace
    {
        /// <summary>
        /// 自增主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Note { get; set; }
        /// <summary>
        /// 是否激活
        /// </summary>
        public bool IsActive { get; set; }
        /// <summary>
        /// 图片地址
        /// </summary>
        public string ImageAddress { get; set; }
        /// <summary>
        /// 类型 ： 图片、视频
        /// </summary>
        public string Type { get; set; }
        public bool IsWeixin { get; set; }
        /// <summary>
        /// 外链地址
        /// </summary>
        public string Link { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? ModifyDate { get; set; } = DateTime.Now;
        /// <summary>
        /// 创建人
        /// </summary>
        public string ModifyUser { get; set; }
    }
}
